package com.linsir.lin.service;

import com.linsir.lin.dto.GridDTO;
import com.linsir.lin.pojo.Permission;
import com.linsir.lin.pojo.RolePermisson;

import java.util.List;

/**
 * @ProjectName:linsir-lin
 * @Package:com.linsir.lin.service
 * @Title: PermissionService
 * @Description: TODO
 * @Create:2021/6/10 10:21 by @author:Linsir
 * @Update:2021/6/10 10:21 by @author:Linsir
 * @UpdateRemark: 初始创建
 * @Version 1.0.0
 */
public interface PermissionService {

    /**
     * 根据 rolePermisson 查找权限
     * @return
     */
    Permission permissionByRolePermission(RolePermisson rolePermisson);

    GridDTO<Permission> grid();

}
